<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head lang="zh-CN">
    <base href="<%=basePath%>">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>支付成功</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--<link rel="stylesheet" type="text/css" href="styles.css">-->
	<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet">
	<style type="text/css">
	</style>
	<script type="text/javascript">
			//支付成功
			function paysuccess(){
				var moblie=document.getElementById("moblie").value;
				var yphone=document.getElementById("yphone").value;
				window.location.href="<%=path%>/p/success?userid="+moblie+"&yphone="+yphone;
			}
			
			function homePage(){
				window.location.href="<%=path%>/csh/homePage.jsp";
			}
	</script>
  </head>
  <body onload="paysuccess()">
  	<div class="container-fluid">
      <div class="row">
      	<input type="hidden" name="moblie" id="moblie" value="${moblie}">
      	<input type="hidden" name="yphone" id="yphone" value="${yphone}">
     	<table border="0px solid red" width="100%" height="100%">
     		<tr height="20%">
     			<td colspan="3" style=" background-color:white;">
	     				<div style="float: left; border: px red solid; width: 30%; height:100%; padding-top: 5px; padding-bottom:5px; text-align: right;">
	     					<img alt="" src="<%=path%>/csh/image/pay_state.jpg" style="width: 100px; height: 100px;">
	     				</div>
	     				<div style="float: left; border: px red solid; width: 70%; height:100%; padding-top:  17px; padding-bottom:  17px; font-size: 16px;">
	     					可授权最大上限人数${numbers}人<br>
	     					支付金额合计:<font color="#ff8b84;">￥${total}</font><br>
	     				</div>
     			</td>
     		</tr>
     		<tr height="30%">
     			<td colspan="3" style=" background-color:white;">
	     				<div style="float: left; border: px red solid; width: 100%; height:100%; padding-top: 5px; padding-bottom:5px; text-align: center;" onclick="paysuccess()">
	     					<img alt="" src="<%=path%>/csh/image/pay_success.jpg" style="height: 200px; width: 200px;">
	     				</div>
     			</td>
     		</tr>
     		<tr height="42%">
     			<td colspan="3" style=" background-color:white;">
     			</td>
     		</tr>
     	</table>
      </div>
    </div>
  </body>
</html>
